<template>
    <div>
        <ComA :title="title" :level="level">
            {{title}}
        </ComA>
        <ComB :itemcom="itemcom">
        </ComB>

    </div>
</template>
<script>
import ComA from './childComp/comA.vue'
import ComB from './childComp/comB.vue'
export default {
    components:{
        ComA,
        ComB
    },
    data(){
        return {
            title: "这是由render函数渲染的标签。",
            level: "1",
            itemcom:"itemB"
        }
    }
}
</script>